package cn.imvc.app.controllers.seller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;

import cn.imvc.app.entities.ExpressCompany;
import cn.imvc.app.models.ExpressCompanyModel;
import cn.imvc.data.domain.ViewRequest;
/**
 * 
 * @author zhanghy
 * @date 2016年8月27日上午9:37:32
 *
 */
public class ExpressCompanyControllerImpl implements ExpressCompanyController{
   
	public Page<ExpressCompany> page;
	public ViewRequest viewRequest;
	
	@Autowired
	private ExpressCompanyModel expressCompanyModel;
	
	/**
	 * 外部调用
	 */
	public String dialog(){
		if(viewRequest==null){
			viewRequest = new ViewRequest();
		}
		page = expressCompanyModel.find(viewRequest);
		return "express-company/dialog";
	}
	public String search() {
		// TODO Auto-generated method stub
		return null;
	}

	public String index() {
		// TODO Auto-generated method stub
		return null;
	}

	public String show() {
		// TODO Auto-generated method stub
		return null;
	}

	public String editNew() {
		// TODO Auto-generated method stub
		return null;
	}

	public String create() {
		// TODO Auto-generated method stub
		return null;
	}

	public String edit() {
		// TODO Auto-generated method stub
		return null;
	}

	public String update() {
		// TODO Auto-generated method stub
		return null;
	}

	public String destroy() {
		// TODO Auto-generated method stub
		return null;
	}

	public String destroyBatch() {
		// TODO Auto-generated method stub
		return null;
	}

	public ViewRequest getViewRequest() {
		return viewRequest;
	}

	public void setViewRequest(ViewRequest viewRequest) {
		this.viewRequest = viewRequest;
	}

}
